how to count turning chains